all: Library DataMngt Gen Stub Client testMatmul 

clean:
	(cd src/Library; make clean)	
	(cd libDataMngt; make clean)
	(cd src/Gen;     make clean)	
	(cd src/Stub;    make clean)	
	(cd src/Client;  make clean)	
	(cd test/matmul; make clean)
	(cd lib; rm *.a)
	(cd libDataMngt; make clean)

doc:
	doxygen doxygen.conf

testMatmul:
	(cd test/matmul; make)
  		
Library:
	(cd src/Library; make)

Gen:
	(cd src/Gen; make)

Stub:
	(cd src/Stub; make)

Client:
	(cd src/Client; make)

DataMngt:
	(cd libDataMngt; make)

tar:
	(cd ..; \
		tar cvf - \
		nc/makefiles\
		nc/src/{Client,Library,Stub,Diag}/*.cpp\
		nc/src/Gen/*.{cpp,h,y}\
	        nc/src/{Client,Library,Stub,Gen,Diag}/Makefile.common\
		nc/src/Diag/*.{cpp,idl,conf}\
	        nc/include/*.h \
		nc/bin/{nccc,ncrun}\
		nc/MAKE nc/INSTALL nc/LICENSE.TXT\
	 | gzip > nc.`date +%y%m%d`.tar.gz)

###

